
import Loading from '@/components/plugs/loading/index.js';
import ServerDialog from '@/components/plugs/server-dialog/index.js';

const components = [
];


const install = function(Vue, opts = {}) {
	components.map(component => {
		component.install(Vue);
	});

	Vue.prototype.$loading = Loading;
	Vue.prototype.$serverDialog = ServerDialog;
};

if (typeof window !== 'undefined' && window.Vue) {
	install(window.Vue);
}


export {
	Loading,
	ServerDialog,
};

export default { install };


// module.exports.default = module.exports;
